/*
 * @Author: ipk518 18163976442@163.com
 * @Date: 2023-11-23 21:08:23
 * @LastEditors: ipk518 18163976442@163.com
 * @LastEditTime: 2024-01-16 11:42:15
 * @FilePath: /module-test/inc/gpio.h
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#ifndef _GPIO_h
#define _GPIO_h
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>

void gpioExport(int gpion,const char *direction,int len);
int gpioUnexport(unsigned int gpion);
void setGpioValue(int n, int value);
int getGpioValue(int n);
void setGpioEdge(int n);

void controlLed();

#endif